# Configure a model

Data logging saves specific tag values or data under certain conditions. In the Data Log Model editor, you create data log models that define these conditions. The data can be shown in a trend.

When you configure a model you specify how many log values to store, where log files will be stored, the conditions that will trigger data logging, and which tags the model will monitor.

You can define multiple data log models, but at run time you can use only one data log model at a time.

Tip: | For data logging to occur at run time, you must select the Data logging box in the Startup editor. The maximum number of tags that can be logged is 100 tags.

## To configure a model

1. Open the Data Log Model editor using one of these methods:
   - In the Data Log folder in the Explorer window, double click the Data Log Model icon.
   - In the Data Log folder in the Explorer window, right click the Data Log Model icon and select New.
   - In the Data Log folder in the Explorer window, drag and drop the Data Log Models icon into the right pane.
   - In the Data Log folder in the Explorer window, right-click an existing data log model and select Open.
   - From the File menu, select New > Data Log.
2. Define the model on the Setup, Paths, Log Triggers, and Tags In Model tabs.
3. When you click Close to save the model, type a name for it in the Component Name dialog box.

## See also

About data logging

Configure startup settings

Set up data logging (Setup tab)

Set up data logging (Paths tab)

Set up data logging (Log Triggers tab)